package com.letme.common.exception;

/**
 * ss
 *
 * @Description
 * @Author lock-xq
 * @Date 2023/3/5 17:14
 **/
public class BusinessException extends RuntimeException {
    static final long serialVersionUID = -1;

    // 1 快捷提示 2 告知提示
    private Integer tipsType;

    public BusinessException() {
        super();
    }

    public BusinessException(String msg) {
        super(msg);
    }

    public BusinessException(Integer tipsType, String msg) {
        super(msg);
        this.tipsType = tipsType;
    }

    public BusinessException(Throwable cause) {
        super(cause);
    }

    public BusinessException(String message, Throwable cause) {
        super(message, cause);
    }

    public Integer getTipsType() {
        return tipsType;
    }

    public void setTipsType(Integer tipsType) {
        this.tipsType = tipsType;
    }
}